$(function () {
  let url = window.location.href;
  console.log(url);
  let phoneNum = decodeURI(url.substring(url.indexOf('=')+1, url.length));
  let phoneNumInput = $('.phoneNum input');
  phoneNumInput.val(phoneNum);
  phoneNumInput.attr("disabled","disabled");

  $('#confirm').click(function () {
    window.location.href = "login.html";
  });
});